CC=g++
CFLAGS=-Wall -lcurses
SOURCES=editor.cpp
EXECUTABLE=editor

all: $(EXECUTABLE)

$(EXECUTABLE): $(SOURCES) 
	$(CC) $(CFLAGS) $(SOURCES) -o $@

clean:
	rm $(EXECUTABLE)

